package com.shuang.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

 /**
 *  @DATE: 2021/09/26 15:52
 *  @Author: 小爽帅到拖网速
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "person")
public class Person implements Serializable {
    /**
     * id
     */
    @TableId(value = "uid", type = IdType.INPUT)
    private Integer uid;

    /**
     * 姓名
     */
    @TableField(value = "uname")
    private String uname;

    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 健康码y为正常,n为不正常
     */
    @TableField(value = "jkm")
    private String jkm;

    /**
     * 区域id
     */
    @TableField(value = "area_no")
    private String areaNo;

    private static final long serialVersionUID = 1L;
}